home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12529 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Recipe for Fast square root function sqrt()
  5. Date: Mon, 01 Apr 96 14:29:09 GMT
  6. Organization: none
  7. Message-ID: <828368949snz@genesis.demon.co.uk>
  8. References: <4jmthv$3mr@nntp5.u.washington.edu>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4jmthv$3mr@nntp5.u.washington.edu>
  15.            sgsrini@u.washington.edu "'srini' Srinivasan Srivilliputhur" writes:
  16.  
  17. >Hi-
  18. >A long while ago there was something about fast square root functions.
  19.  
  20. I think you'll find that these were integer square root functions.
  21.  
  22. >I'm specifically looking for a sqrt(x) that is accurate to about 4 decimal
  23. >places. 'x' argument for sqrt() is about, '0.05 < x < 10^8'.
  24.  
  25. I doubt whether you'll do much better than sqrt() itself.
  26.  
  27. -- 
  28. -----------------------------------------
  29. Lawrence Kirby | fred@genesis.demon.co.uk
  30. Wilts, England | 70734.126@compuserve.com
  31. -----------------------------------------
  32.